package simulaco.business;

import gminet.infra.business.BusinessException;
import gminet.infra.business.BusinessObject;

import java.util.List;

import simulaco.dto.Situacao;


/**
 * @author Gabriel Flores Mendes
 * 
 * 
 */
public class SituacaoBusiness extends BusinessObject {

    public static Situacao findByPK(int statusId) throws BusinessException {

        return Situacao.getSituacaoById(statusId);
    }

    public static List<Situacao> findAll() {

        return Situacao.getList();
    }

}
